package cn.jizi.bshisy.service;

import cn.jizi.bshisy.entity.Register;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface RegisterService {
    //病人挂号
    int getAddRegister(Register register);
    //医生查看挂号信息并可以根据病人姓名和时间查询并分页
    List<Register> getListRegisterPage(@Param("name")String name,
                                       @Param("diagnose")Integer diagnose,
                                       @Param("from") Integer currentPageNo,
                                       @Param("pageSize") Integer pageSize);
    int getListRegisterPageCount(@Param("name")String name,
                                 @Param("diagnose")Integer diagnose);

}
